<script type="text/javascript">
	var active = "[active]";
</script>
<div id="header">
		<div class="header-inner">
			<h1 class="logo"><a href="__ROOT__" title="Vshow唯秀">Vshow唯秀</a></h1>
			<div class="login-box" id="login">
					<empty name="Think.session.UID">
					<a href="__ROOT__/index.php/Home/User/login" class="login">登陆</a>
					<a href="__ROOT__/index.php/Home/User/userReg" class="registr">注册</a>
					
				<else />
					<if condition="$Think.session.group_id eq 3 "> 
						<a href="__ROOT__/index.php/Home/StudentCenter/index" class="login">个人中心</a>
						<a href="__ROOT__/index.php/Home/User/logout" class="registr">退出登录</a>
					<else />
						<a href="__ROOT__/index.php/Home/TeacherCenter/index" class="login">个人中心</a>
						<a href="__ROOT__/index.php/Home/User/logout" class="registr">退出登录</a>
					</if>
				</empty>
				
			</div>
			<div class="search-box" id="search">
				<form action="__APP__/Home/Index/workList" method="get">
					<input type="text" class="text" name="key" value="输入关键字">
					<input type="submit" class="submit">
				</form>
			</div>	
			<div class="nav" id="nav">
				<div class="nav-inner">
					<li id="index">
						<a href="__ROOT__/index.php/Home/Index/index.html" title="首页" >
						<strong class="tit">首页</strong><span>index</span>
					</a>
					</li>
					<li id="project">
						<a href="__ROOT__/index.php/Home/Index/workList.html" title="所有作品">
							<strong class="tit">所有作品</strong><span>project</span>
						</a>
					</li>
					<li id="learning">
						<a href="__ROOT__/index.php/Home/Index/learning.html" title="学习资源">
							<strong class="tit">学习资源</strong><span>learning</span>
						</a>
					</li>
					<li id="message">
						<a href="__ROOT__/index.php/Home/Index/message.html" title="留言区">
							<strong class="tit">留言区</strong><span>message</span>
						</a>
					</li>						
				</div>
			</div>				
		</div>
	</div>